/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.team1160.breakaway.util;

import com.team1160.breakaway.api.Constants;
import edu.wpi.first.wpilibj.Compressor;

/**
 *
 * @author CJ
 */
public class Pnuematics {

    protected Compressor compressor;

    public Pnuematics(){
        this.compressor = new Compressor(Constants.C_COMPRESSOR_RELAY,
                Constants.C_COMPRESSOR_SWITCH);
        start();
    }

    public void start(){
        this.compressor.start();
    }
    
    public void stop(){
        this.compressor.stop();
    }
}
